/**
 * 
 */
package com.google.code.sip.ucenter.model;

/**
 * 性别枚举
 * 
 * @author Liuye
 * 
 */
public enum PrivacyType {
	Public("Public"), Friendly("Friendly"), Private("Private");
	private String value;

	PrivacyType(String value) {
		this.value = value;
	}

	@Override
	public String toString() {
		return value;
	}

	public String getComment() {
		if ("Public".equals(value)) {
			return "公开";
		}
		if ("Friendly".equals(value)) {
			return "好友可见";
		}
		if ("Private".equals(value)) {
			return "保密";
		}
		return null;
	}
}
